package cn.tedu.tmall.basic.dao.repository;

import cn.tedu.tmall.basic.pojo.po.DistrictPO;
import cn.tedu.tmall.common.cache.DistrictCacheConsts;

import java.util.List;

public interface IDistrictCacheRepository extends DistrictCacheConsts {
    List<DistrictPO> listByParent(Long parentId);

    void saveDict(Long parentId, List<DistrictPO> districtPOS);


    void deleteAll();
}
